<html>
    <head>
        <title>Pathjs Demo</title>
        <meta charset="utf-8">
        <script type="text/javascript" src="js/pathjs.js"></script>
        <script>
            /*多达156种简约图标，全部来自阿里官方图标库，和谷歌官方图标库*/
            window.onload = function(){
                pathjsCreate("alert","body","","Hello World","tip1","","","","");
                pathjsShow("tip1","");
                       /*type,  div,  title,  content, id, url, size,  code, callBackCode*/
            
//                pathjsCreate("mark","#div1","","1","pathjs2","music/testMusic.mp3","1red","","");
//                pathjsCreate("mark","#div1","","1","pathjs1","music/testMusic.mp3","2red","","");
//                pathjsCreate("mark","#div1","","1","pathjs3","music/testMusic.mp3","1green","","");
//                pathjsCreate("mark","#div1","","1","pathjs4","music/testMusic.mp3","2green","","");
//                pathjsCreate("mark","#div1","","1","pathjs5","music/testMusic.mp3","1blue","","");
//                pathjsCreate("mark","#div1","","1","pathjs6","music/testMusic.mp3","2blue","","");
//                pathjsCreate("mark","#div1","","1","pathjs7","music/testMusic.mp3","1black","","");
//                pathjsCreate("mark","#div1","","1","pathjs8","music/testMusic.mp3","2black","","");
//                pathjsCreate("mark","#div1","","1","pathjs9","music/testMusic.mp3","1gray","","");
//                pathjsCreate("mark","#div1","","1","pathjs10","music/testMusic.mp3","2gray","","");
//                pathjsCreate("mark","#div1","","1","pathjs11","music/testMusic.mp3","1yellow","","");
//                pathjsCreate("mark","#div1","","1","pathjs12","music/testMusic.mp3","2yellow","","");
//                pathjsShow("pathjs1","");
//                pathjsShow("pathjs2","");
//                pathjsShow("pathjs3","");
//                pathjsShow("pathjs4","");
//                pathjsShow("pathjs5","");
//                pathjsShow("pathjs6","");
//                pathjsShow("pathjs7","");
//                pathjsShow("pathjs8","");
//                pathjsShow("pathjs9","");
//                pathjsShow("pathjs10","");
//                pathjsShow("pathjs11","");
//                pathjsShow("pathjs12","");
                
                  //pathjsCreate("code","#div1","code:","layui.use('code', function(){ //加载code模块<br>&nbsp&nbsplayui.code(); //引用code方法<br>});","pathjs12","music/testMusic.mp3","500","","");
            }
        </script>
    </head>
    <body>
        <div id="div1">
        
        </div>
        
    </body>
</html>